﻿using System;
using LMD.Lib.DataClass;

namespace LMD.Lib.Interface
{
    public interface INewsFeedDataProvider
    {
        NewsFeedData[] ReadData();
        NewsFeedData[] ReadData(int iLowestID, int iHighestID);
        NewsFeedData[] ReadData(DateTime dtmStart, DateTime dtmEnd);
        NewsFeedData[] ReadData(String sxLastId, int iCount);
    }

    public interface IMasterPage
    {
        String ReadSearchQuery();
        bool IsSearchMode();
        void SetSearchMode(bool IsOn);
    }

    public interface ILOVProvider
    {
        String DrawLOV(String sxControlId, String sxFilter, String sxCustomParam, int iIndex, int iPageSize);
        String ShowInputForm(String sxControlId, String sxValue, String sxCustomParam);
        String Insert2LOV(String sxValue, String sxCustomParam, TextboxType tpTextbox);
        String GetLOVName();
    }    
}
